<template>
  <el-breadcrumb separator=">" class="el-breadcrumb">
    <el-breadcrumb-item v-for="(item, index) in breadcrumb" :key="index" :to="{ path: '/' + item.path }">
      {{ item.name }}
    </el-breadcrumb-item>
  </el-breadcrumb>
</template>
<script type="text/ecmascript-6">
  export default {
    props: {
      breadcrumb: {
        type: Array
      }
    }
  }
</script>
